package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.base.BaseEntity;

import java.util.Date;

/**
 * 商品副属性表 goodvice
 * 
 * @author chengenjiang
 * @date 2019-07-16
 */
public class Goodvice extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 商品副属性表ID */
	private Integer goodVice;
	/** 商品信息ID */
	private Integer goodsinfoId;
	/** 商品主属性名称 */
	private String name;
	/** 创建时间 */
	private Date createTime;
	/** 修改时间 */
	private Date updateTime;
	/** 扩展字段 */
	private String attribute;

	public void setGoodVice(Integer goodVice) 
	{
		this.goodVice = goodVice;
	}

	public Integer getGoodVice() 
	{
		return goodVice;
	}
	public void setGoodsinfoId(Integer goodsinfoId) 
	{
		this.goodsinfoId = goodsinfoId;
	}

	public Integer getGoodsinfoId() 
	{
		return goodsinfoId;
	}
	public void setName(String name) 
	{
		this.name = name;
	}

	public String getName() 
	{
		return name;
	}

	public void setAttribute(String attribute) 
	{
		this.attribute = attribute;
	}

	public String getAttribute() 
	{
		return attribute;
	}
	@Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("goodVice", getGoodVice())
            .append("goodsinfoId", getGoodsinfoId())
            .append("name", getName())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("attribute", getAttribute())
            .toString();
    }


	public Date getCreateTime() {
		return createTime;
	}


	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}


	public Date getUpdateTime() {
		return updateTime;
	}


	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
}
